<template>
    <slot message="Hello 默认插槽"></slot>
    <hr>
    <slot name="header" message="Hello vue.js"></slot>
    <hr>
    <slot :user="user" message="content"></slot>
</template>
<script setup>  
import { reactive } from 'vue';
const user=reactive({
    name:'张三',
    age:18
})
</script>